<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Log4js 测试</title>
</head>
<body style="text-align: center">


<h1>F12 查看控制台</h1>

<script src="../../dist/bundle.js"></script>
<script>
    log.level = 'debug'

    log.debug("test debug")
    log.info("test info")
    log.error("test error")



    var obj = {
        "test" : "test"
    }
    log.info("--------")
    log.info("test object", obj);
    log.info("test element", document.body);

</script>

</body>
</html>
